home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 05.zip
/
BS1 part 5
/
PDraw3.0.adf
/
pdraw_rex.lzh
/
ReadINI.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-06-15
|
369b
|
24 lines
/*
This genie parses the PPage.ini file for a specific object type
*/
parse arg type, filename
if filename = '' then filename = "s:ppage.ini"
type = upper(type)
if ~open(file, filename, r) then return("")
rstring = ''
do while ~eof(file)
line = upper(readln(file))
if word(line, 1) = type then rstring = subword(line, 2)
end
call close(file)
return rstring